//头部bar
var headBars ={
    getKits:function(){
        loadUtil = new Load($);
        loadUtil.load({
            container:'#kits',
            url: application.contextPath+'/frame/kits'
        });
    },

    getNotifications:function () {
        loadUtil = new Load($);
        loadUtil.load({
            container:'#notifications',
            url: application.contextPath+'/frame/notifications'
        });
    },
    getUserPopup:function () {
        loadUtil = new Load($);
        loadUtil.load({
            container:'#userPopup',
            url: application.contextPath+'/frame/userPopup'
        });
    },
    searchNotice:function(){
        $.ajax({
            url: application.contextPath+"/home/queryNoticeByHomeByTitle",
            type:"POST",
            dataType:"json",
            data:{
                title:$("#searchNotice").val()
            },
            success:function (res) {
            }
        })
    }
};

$(document).ready(function(){
    //headBars.getKits();
    headBars.getUserPopup();
    // headBars.getNotifications();
});


